package com.design;

/**
 * 饿汉模式（线程安全）
 */
public class Singleton03 {
    private Singleton03 singleton03 = new Singleton03();

    private Singleton03(){

    }

    public Singleton03 getSingleton03(){
        return singleton03;
    }
}
